class MyArrary<T> {
    private T[] arr = (T[]) new Object[10];

    public T get(int index) {
        return arr[index];
    }
    public void set(int index , T value){
        arr[index] = value;
    }

}
public class Test01 {
    public static void main(String[] args) {

        //
        MyArrary<String> arr = new MyArrary<>();
        MyArrary<Integer> arr2 = new MyArrary<>();
    }
}

